The parameter error is not used and could be removed.
This check looks for parameters in functions that are not used in the function
body and are not followed by other parameters which are used inside the function.
Loading history...
7
class AppError extends error {
8
constructor({ value = null, type = null, message }) {